# Copyright (c) 2015, Ruslan Baratov
# All rights reserved.

# Do not call 'hunter_add_package(ZLIB)' because ZLIB it not a basic dependency
find_package(ZLIB CONFIG REQUIRED)

get_target_property(
   _interface_link_libraries Boost::iostreams INTERFACE_LINK_LIBRARIES
)

set_target_properties(
    Boost::iostreams
    PROPERTIES
    INTERFACE_LINK_LIBRARIES "${_interface_link_libraries};ZLIB::zlib"
)
